const Koa = require('koa');
const app = new Koa();
const userRouter = require('./api/user')

app.use(userRouter.routes())

const port = 3000
app.listen(port, () => {
    console.log(`server is running at http://localhost:${port}`);
})

